package equipment;

import java.awt.Image;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

/** 
 * Klasa implementujaca bron - pociski/rakiety
 * @author Maciej Graszek
 * @author Pawe� Rych�y
 *
 */
public class Rocket extends Weapon{
	
	private int row;
	
	public Rocket(int id, int amount, int row) {
		super(id, amount);
		
		Image rockets;
		try {
			rockets = ImageIO.read(new File("picture/weapon_pics/rocket.png"));
			this.setImage(rockets);
		} catch (IOException e) {
			System.err.println("Niepoprawne wczytanie obrazku - rocket");
			e.printStackTrace();
		}
		
		this.row = row;
	}
	
	public void destroyRow() {
		
	}

}
